package summer_vacation.zengguangchuan;

/**作业33
 * Created by lenovo0 on 2015/8/31.
 */
public class Assignment_14 {
    public static void main(String[] args){
        int last=0;
        last=1020/2+2;
        int i=0;
        for(i=1;last>=0;i++){
            last = last - (last / 2 + 2);
        }
        System.out.println("需要的天数"+i);
    }
}
